package com.deepcode.StringProcess.domain;

/**
 * node for linked list
 */
public class CharObject {
    private char character;
    private CharObject prev;
    private CharObject next;

    public CharObject(char character) {
        this.character = character;
    }

    // Getters and Setters
    public char getCharacter() {
        return character;
    }

    public void setCharacter(char character) {
        this.character = character;
    }

    public CharObject getPrev() {
        return prev;
    }

    public void setPrev(CharObject prev) {
        this.prev = prev;
    }

    public CharObject getNext() {
        return next;
    }

    public void setNext(CharObject next) {
        this.next = next;
    }
}